<?php
	
require_once( '../system/smarty.inc' );
require_once( '../system/mdao/Class_M_USER.php' );
require_once( '../system/mdao/Class_M_OTHER.php' );

require_once( '../system/Class_ERROR.php' );
require_once( '../system/login.inc.php' );
require_once( '../system/aoki_m.php' );
require_once( '../system/Class_PWD.php' );

Class_PWD::valid_auth(AOKI_AUTH_AFCS,$login['staff_auth']);

//if( $login['staff_auth'] != 'G-0' ) exit;


$dosearch = FALSE ;

$dao = new Class_M_USER;


//１．佐川印刷作成　一般　店舗明細トップ画面用カレンダーモジュール

	$sg_cal_today = "";

	$moto_year = date("Y")-3;
//	$old_year = $moto_year - 4;
//	$old_new_year = $old_year


	for($i=0;$i<4;$i++){
		$sg_cal_today[] = "【".$moto_year."年～".($moto_year+1)."年】";


		$moto_year = $moto_year + 1;
	}



//	$sg_cal_today = $moto_year;



	$smarty->assign("hiduke",$sg_cal_today);




//ここまで　１．佐川印刷作成　一般　店舗明細トップ画面用カレンダーモジュール



$smarty->assign('menu', $smarty->fetch('menu.html') );
$smarty->assign('logout', $smarty->fetch('logout.html') );
$smarty->assign('footer', $smarty->fetch('footer.html') );
$smarty->assign('pageing', $smarty->fetch('page.html') );
$smarty->display('afcs_store_cal.html');

?>